<link rel="stylesheet" href="__STATIC__/Home/css/index.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__/Home/css/animate.css"/>
<script type="text/javascript" src="__STATIC__/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="__STATIC__/mgjs/index.js"></script>
</head>

<body>
<!-- 首页首屏开始**************************** -->


<!-- 顶部红色区域 -->
<div id="top">
	<!-- 顶级 -->
	<div id="pic">
	<!-- 右侧 -->
		<ul>
			<if value="$hd.session.username && $hd.session.uid">
				<li class='userinfo'>
					欢迎回来<a href="{|U:'Search/index'}" class='uname' style="margin-right:10px ;">{$hd.session.username}</a>
				</li>
				<li class="sp">|</li>
				<li><a href="{|U:'Login/out'}">退出</a></li>  
			<else/>
				<li><a href="{|U:'Register/index'}">注册</a></li>
				<li><a href="{|U:'Login/index'}">登陆</a></li>
			</if>
			<li><span>|</span><a href="">QQ登陆</a></li>
			<li><a href="">微信登陆</a></li>
			<li><a href="">微博登陆</a></li>
			<li><span>|</span><a href="">手机蘑菇街</a></li>
			<li><span>|</span><a href="">帮助中心</a></li>
			
		</ul>
		<!-- 中部 -->
		<div class="logo">
			<div class="logo-left">
				<a href="{|U:'Index/index'}"><img src="__STATIC__/Home/images/wjmsj.png" alt="" /></a>
			</div>
			<!-- 搜索区域 -->
			<div class="logo-middle">
				<form action="">
					<input type="text" class="l" value=" 清爽秋季，运动起来" />
					<input type="submit" class="y" value="" />
				</form>
				<!-- 购物车 -->
				<div class="car">
					<div class="xia-1">
						<a href="{|U:'Cart/index'}">购物车
							<span>
								<if value="$_SESSION['cart']">
								{$hd.session.cart.total_rows}
								<else/>0</if>
							</span>件
						</a>
					</div>
					<div class="xia-2">
						<if value="$_SESSION['cart']">
						<div>购物车中有<span style="color: #FF339B;">&nbsp;{$hd.session.cart.total_rows}&nbsp;</span>件商品！
							<br />
							总价:￥{$hd.session.cart.total}
						</div>
						<else/><div>购物车中还没有商品！</div></if>
					</div>	
				</div>
				<!-- 我的订单 -->
				<div class="count"><a href="{|U:'Order/index'}">我的订单</a></div>
			</div>
		</div>
	</div>
</div>
<!-- 顶部红色区域结束 -->

<!-- 导航条开始 -->
<div id="nav">
	
	<ul>
		
		<li><a href="{|U:'Index/index'}" class="a">首页</a></li>
		<foreach from="$cateData" key="$k" value="$v">
			<li><a href="{|U:'List/index',array('cid'=>$v['cid'])}">{$v.cname}</a></li>
		</foreach>
	</ul>
	<a href=""></a><img src="__STATIC__/Home/images/ds3.jpg" alt="" />
</div>
<!-- 导航条结束 -->
<div id="red"></div>